package com.syni.mdd.yhd.common.all.dao.jpa;

import com.syni.mdd.yhd.common.all.dao.BaseJPADao;
import com.syni.mdd.yhd.common.all.entity.groupChat.BmsChatAnnoun;
import org.springframework.data.domain.Pageable;

import java.util.List;

public interface BmsChatAnnounDao extends BaseJPADao<BmsChatAnnoun,Integer> {

    List<BmsChatAnnoun> findByChatIdAndIsDelete(Integer chatId,Integer isDelete);

    List<BmsChatAnnoun> findByChatIdAndIsDelete(Integer chatId,Integer isDelete,Pageable pageable);
}
